package com.gxa.service.impl;

import com.gxa.entity.Index;
import com.gxa.mapper.SalesReportMapper;
import com.gxa.service.SalesReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SalesReportServiceImpl implements SalesReportService {

    @Autowired
    private SalesReportMapper salesReportMapper;

    @Override
    public List<Index> queryIncomExpendList() {
        List<Index> indices = this.salesReportMapper.queryIncomExpendList();
        return indices;
    }

    @Override
    public List<Index> queryPercentageList() {
        List<Index> indices = this.salesReportMapper.queryPercentageList();
        return indices;
    }
}
